package com.authManager.commons.feignApi.hystric;


import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.stereotype.Component;

import com.authManager.commons.feignApi.SysUserApi;
import com.authManager.entity.SysUser;

import com.commons.base.model.AdminPage;
import com.commons.base.model.ResultCode;
import com.commons.base.model.ResultData;

@Component
public class SysUserApiHystric implements SysUserApi{
			
	@Override
	public ResultData<Object> saveSysUser(
			    	String name
			    	,String phone
	){
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	};
	@Override
	public ResultData<Object> editSysUser(
			@RequestParam(required=true)String sysUserId
			    	,String name
			    	,String phone
	){
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	};
	
	@Override
	public ResultData<Object> delSysUser(Long sysUserId){
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	};
	
	@Override
	public ResultData<SysUser> getSysUser(Long sysUserId){
		return new ResultData.Builder<SysUser>(ResultCode.reqeust_TimeOut).build();
	};
	
	@Override
	public ResultData<AdminPage<SysUser>> listSysUser(
		Integer pageNum,
		Integer pageSize,
				    	String sysUserId
				    	,String name
				    	,String phone
		        ,String start_createTime
				    ,String end_createTime
	){
		return new ResultData.Builder<AdminPage<SysUser>>(ResultCode.reqeust_TimeOut).build();
	};
}
